package com.boyue.controller;

import com.boyue.domain.RespBean;
import com.boyue.service.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignServiceController {
    @Autowired
    private FeignService feignService;
    @GetMapping("/eurekaClientInfo")
    public RespBean eurekaClientInfo(){
        return feignService.eurekaClientInfo();
    }
}
